package com.dd.common.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
@Schema(name = "上传文件返回对象")
public class UploadFilesVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "原文件名", example = "ikun.jpg")
    private String name;
    @Schema(description = "文件大小(字节)", example = "168982")
    private Long size;
    @Schema(description = "文件后缀", example = ".jpg")
    private String ext;
    @Schema(description = "文件访问地址", example = "http://localhost:8112/fetch/file/image/20250809/a95f788b-6372-413e-88f0-b41556df2c2d.jpg")
    private String url;
    @Schema(description = "文件访问path路径", example = "/fetch/file/image/20250809/a95f788b-6372-413e-88f0-b41556df2c2d.jpg")
    private String path;

}
